import { get, post } from '@/utils/request'

/**
 * 
 * @returns 查询申请代理商结果信息
 */
export const getAppluForResult = () => {
  return post({
    url:'/agent/getApplyForResult'
  })
}
 
/**
 * 申请成为代理商
 * @param data {name,phone}
 * @returns 
 */
export const applyForAgent = (data) => {
  return post({
    url: '/agent/applyFor',
    data
  })
}